package com.ruoyi.module.app.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;


/**
 * 广告对象 sh_ad
 *
 * @author mars
 * @date 2022-10-20
 */

@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sh_ad")
public class ShAd implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 位置
     */
    @Excel(name = "位置")
    private String location;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String title;

    /**
     * 图片地址
     */
    @Excel(name = "图片地址")
    private String picUrl;

    /**
     * 路径
     */
    @Excel(name = "路径")
    private String url;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;

    /**
     * 跳转类型
     */
    @Excel(name = "跳转类型")
    private Integer linkType;

    /**
     * 创建日期
     */
    private Date createTime;
}
